package com.practice.share.service.impl;

import com.practice.share.basemapper.SameService;
import com.practice.share.mapper.LikeMessageMapper;
import com.practice.share.model.pojo.LikeMessage;
import com.practice.share.service.LikeArticleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LikeArticleServiceImpl extends SameService<LikeMessage> implements LikeArticleService {


    @Resource
    private LikeMessageMapper likeMessageMapper;


    /**
     * 获取喜欢的列表
     */
    public LikeMessage getLikeMessage(Integer likeId) {
        return likeMessageMapper.getLikeMessage(likeId);
    }
}
